package com.ms.demo;

/**
 * @description: 策略的具体实现类  -- 加法策略
 * @author: ms
 * @create: 2022-10-27 15:25
 */
public class OperationAdd implements Strategy {

    @Override
    public int doOperation(int num1, int num2) {
        return num1 + num2;
    }
}